class PublicController < ApplicationController
  skip_before_filter :authoriz
  def index
    @horses = Horseslist.search(params[:search],params[:page])
    @search = params[:search]
    @user = User.new
    respond_to do |format|
      format.html # index.html.erb
      format.xml  { render :xml => @horses }
    end
  end
  protected
  def authoriz
  end
end
